home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / internet / net commander 1.0 / ISP / SCRPTLST / CICNET.CMD < prev    next >
Encoding:
Text File  |  1996-02-14  |  950 b   |  65 lines

  1. #    TRUMPET WINSOCK LOGIN.CMD FOR CIC NET
  2. #
  3. # initialize modem
  4. #
  5. output atz\13
  6. input 10 OK\n
  7. #
  8. # send phone number
  9. #
  10. output atdt\13
  11. #
  12. # my other number
  13. #
  14. #output atdt\13
  15. #
  16. # now we are connected.
  17. #
  18. input 30 CONNECT
  19. #
  20. #  wait till it's safe to send because some modem's hang up
  21. #  if you transmit during the connection phase
  22. #
  23. wait 20 dcd
  24. #
  25. # now prod the terminal server
  26. #
  27. output \13
  28. #
  29. #  wait for the username prompt
  30. #
  31. input 30 name:
  32. username Enter your username
  33. output \u\13
  34. #
  35. # and the password
  36. #
  37. input 30 word:
  38. password Enter your password
  39. output \p\13
  40. #
  41. # we are now logged in
  42. #
  43. input 30 >
  44. #
  45. # jump into slip mode
  46. #
  47. output slip default\13
  48. #
  49. # wait for the address string
  50. #
  51. input 30 Your IP address is
  52. #
  53. # parse address
  54. #
  55. address 30
  56. input 30 \n
  57. #
  58. # we are now connected, logged in and in slip mode.
  59. #
  60. display \n
  61. display Connected.  Your IP address is \i.\n
  62. #
  63. # now we are finished.
  64. #
  65.